package expriment4_T9;

class Person {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Goods shopping(Market market, String goodsName) {
        return market.sell(goodsName);
    }
}
